package com.harun;

public enum Algorithm {
	
	TOP1("TOP1", 1),
	TOP2("TOP2", 2),
	TOP3("TOP3", 3),
	TOP_INF("TOP_INF", Integer.MAX_VALUE),
	RANDOM("RANDOM", 0),
	CONTENT_BASED("CONTENT_BASED", 0),
	COLLABORATIVE("COLLABORATIVE", 0);
	
	private String type;
	private Integer value;
	
	private Algorithm(String type, int val) {
		this.type = type;
		this.value = val;
	}
	
	public Integer getValue() {
		return value;
	}
	
	@Override
	public String toString() {
		return type;
	}	
}
